package com.example.administrator.funclient.model;


public class MsgBean {
    String uuID;
    String name;
    String Date;
    String clientMsg;


    public MsgBean() {
    }

    @Override
    public String toString() {
        return name  +
                " " + Date +
                " " + clientMsg +
                " " + uuID + "\n";
    }
    public static MsgBean spiltBean(String line){
        MsgBean mb=new MsgBean();
        String[] strs=line.split(" ");
        mb.setName(strs[0]);
        mb.setDate(strs[1]);
        mb.setClientMsg(strs[2]);
        mb.setUuID(strs[3]);
        return mb;
    }

    public String getUuID() {
        return uuID;
    }

    public void setUuID(String uuID) {
        this.uuID = uuID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDate() {
        return Date;
    }

    public void setDate(String date) {
        Date = date;
    }

    public String getClientMsg() {
        return clientMsg;
    }

    public void setClientMsg(String clientMsg) {
        this.clientMsg = clientMsg;
    }
}
